﻿<%@ Control language="C#" Inherits="BuyRequest.EditBuyRequest" CodeFile="EditBuyRequest.ascx.cs" AutoEventWireup="true"%>
<%@ Register Src="../../controls/message.ascx" TagName="message" TagPrefix="uc3" %>
<%@ Register Src="../../controls/tm_TreeViewAdv.ascx" TagName="tm_Treeview" TagPrefix="uc2" %>
<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>
<%@ Register TagPrefix="dnn" TagName="TextEditor" Src="~/controls/TextEditor.ascx"%>
<%@ Register TagPrefix="dnn" TagName="Audit" Src="~/controls/ModuleAuditControl.ascx" %>
<%@ Register Src="../../controls/tm_uploadFile.ascx" TagName="UploadFile" TagPrefix="uc1" %>

<center>
<asp:Panel ID="pnlMenu" runat="server">
<table border="0" width="650">
    <tr>
        <td >
            <div id="tabs10">
                <ul>
                    <li>
                        <asp:LinkButton ID="lkThongTinChung" runat="server" OnClick="lkThongTinChung_Click"><span>THÔNG TIN CHUNG</span></asp:LinkButton>
                    </li>
                    <li>
                        <asp:LinkButton ID="lkPhanLoai" runat="server" OnClick="lkPhanLoai_Click"><span>PHÂN LOẠI</span></asp:LinkButton></li><li>
                        <asp:LinkButton ID="lkQuanLy" runat="server" OnClick="lkQuanLy_Click"><span>QUẢN LÝ</span></asp:LinkButton></li></ul>
            </div>
        </td>
    </tr>
</table>
</asp:Panel>

<asp:Panel ID="pnlThongTinChung" runat="server">
    <table border="0" width="650">
        <tr>
            <td align="left" colspan="2" class="table">
                <asp:Label ID="Label1" runat="server"    Text="THÔNG TIN CHUNG" CssClass="titletext2"></asp:Label></td>
        </tr>
        <tr>
            <td class="SubHead" style="width: 245px">
                <asp:Label ID="Label2" runat="server" Text="Mã số:" CssClass="titletext3"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtMaSo" runat="server" ReadOnly="True" Width="200px" Enabled="False"></asp:TextBox>
                <asp:DropDownList ID="ddlLoaiMaSo" runat="server" AutoPostBack="False"></asp:DropDownList>
                <asp:Label ID="lblCurRequestId" runat="server" CssClass="titletext3" Text="0"></asp:Label>
                <asp:Label ID="lblOwnerId" runat="server" Visible="False"></asp:Label></td>
        </tr>
        <tr>
            <td class="SubHead" style="width: 245px">
                <asp:Label ID="Label3" runat="server" Text="Tên tiếng Việt:" CssClass="titletext3"></asp:Label>
                <asp:Label ID="Label8" runat="server" ForeColor="Red" Text="*"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtTenVN" runat="server" MaxLength="255" Width="500px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="SubHead" style="width: 245px">
                <asp:Label ID="Label7" runat="server" Text="Tên tiếng Anh:" CssClass="titletext3"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtTenAnh" runat="server" MaxLength="255" Width="500px"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="SubHead" valign="top" colspan="2">
                <asp:Label ID="Label5" runat="server" Text="Mô tả:" CssClass="titletext3"></asp:Label><asp:Label ID="Label10"
                    runat="server" ForeColor="Red" Text="*"></asp:Label></td>
        </tr>
        <tr>
            <td class="SubHead" valign="top" colspan="2">
                <FTB:FreeTextBox ID="txtMoTa" runat="server" Width="650" EnableHtmlMode="False" Height="200px">
                </FTB:FreeTextBox>
                </td>
        </tr>
        <tr>
            <td class="SubHead" valign="middle" style="width: 245px">
                <asp:Label ID="Label20" runat="server" Text="Đạt tiêu chuẩn:" CssClass="titletext3"></asp:Label></td>
            <td>
                <asp:CheckBox ID="ckTieuChuanVN" runat="server"    Text="Tiêu chuẩn Việt Nam" CssClass="titletext3" />
                <asp:CheckBox ID="ckTieuChuanNgoai" runat="server"   
                    Text="Tiêu chuẩn nước ngoài" CssClass="titletext3" /></td>
        </tr>
        <tr>
            <td class="SubHead" valign="top" style="width: 245px">
                <asp:Label ID="Label52" runat="server" Text="Chuyển giao:" CssClass="titletext3"></asp:Label></td>
            <td>
                <table border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td style="height: 20px">
                            <asp:CheckBox ID="ckPatent" runat="server"   
                                Text="Patent" CssClass="titletext3" />
                            <asp:CheckBox ID="ckBiQuyet" runat="server"   
                                Text="Bí quyết" CssClass="titletext3" />
                            <asp:CheckBox ID="ckLicense" runat="server"   
                                Text="License" CssClass="titletext3" />
                            <asp:CheckBox ID="ckDaoTao" runat="server"   
                                Text="Đào tạo" CssClass="titletext3" />
                            <asp:CheckBox ID="ckTuVanDaoTao" runat="server"    Text="Tư vấn đào tạo" CssClass="titletext3" /></td>
                    </tr>
                    <tr style="font-size: 12pt">
                        <td style="height: 18px">
                            <asp:CheckBox ID="ckChiaKhoaTraoTay" runat="server"    Text="Chìa khóa trao tay" CssClass="titletext3" />
                            <asp:CheckBox ID="ckThoaThuanKhachHang" runat="server"  Text="Theo thỏa thuận của khách hàng" CssClass="titletext3"/></td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td class="SubHead" style="width: 245px">
                <asp:Label ID="Label27" runat="server" Text="Sản xuất sau năm:" CssClass="titletext3"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtSanXuatSauNam" runat="server" Width="80px" MaxLength="4">0</asp:TextBox></td>
        </tr>
        <tr>
            <td class="SubHead" valign="top" style="width: 245px">
                <asp:Label ID="Label71" runat="server" Text="Thông tin khác:" CssClass="titletext3"></asp:Label></td>
            <td valign="top">
            </td>
        </tr>
        <tr>
            <td class="SubHead" valign="top" colspan="2">
                <asp:TextBox ID="txtThongTinKhac" runat="server" Rows="5" TextMode="MultiLine" Width="650px"></asp:TextBox></td>
        </tr>
    </table>
</asp:Panel>

<asp:Panel ID="pnlThongTinPhanLoai" runat="server" Width="100%">
    <table border="0" width="650">
        <tr>
            <td align="left" style="width: 70%; height: 24px" valign="top" class="table">
                <asp:Label ID="Label64" runat="server"    Text="THÔNG TIN PHÂN LOẠI" CssClass="titletext2"></asp:Label></td>
        </tr>
        <tr>
            <td style="width: 70%; height: 24px" valign="middle">
                <asp:Label ID="Label65" runat="server" Text="Thuộc lĩnh vực:" CssClass="titletext3"></asp:Label>
                <asp:DropDownList ID="ddlThuocLinhVuc" runat="server" Width="540px">
                </asp:DropDownList></td>
        </tr>
        <tr>
            <td valign="top">
                <uc2:tm_Treeview ID="tvProductCat" runat="server" MyHeight="205" />
            </td>
        </tr>
        <tr>
            <td align="center" style="height: 21px" valign="top">
                <asp:LinkButton ID="btnChooseField" runat="server" OnClick="btnChooseField_Click">Chọn</asp:LinkButton></td>
        </tr>
        <tr>
            <td style="height: 21px" valign="top">
                <asp:Label ID="Label67" runat="server" Text="Từ khóa:" CssClass="titletext3" Width="83px"></asp:Label></td>
        </tr>
        <tr>
            <td style="height: 17px" valign="top">
                <asp:TextBox ID="txtTuKhoa" runat="server" Rows="10" TextMode="MultiLine" Width="100%" Height="70px"></asp:TextBox></td>
        </tr>
    </table>
</asp:Panel>

<asp:Panel ID="pnlThongTinQuanLy" runat="server">
    <table border="0" width="650">
        <tr>
            <td align="left" colspan="2" class="table">
                <asp:Label ID="Label74" runat="server"    Text="THÔNG TIN QUẢN LÝ" CssClass="titletext2"></asp:Label></td>
        </tr>
        <tr style="font-size: 12pt">
            <td class="SubHead" style="width: 125px; height: 10px;">
                <asp:Label ID="Label75" runat="server" Text="Trạng thái:" CssClass="titletext3"></asp:Label></td>
            <td valign="top" style="height: 10px">
                <asp:DropDownList ID="ddlTrangThai" runat="server" Width="100px">
                </asp:DropDownList>
                </td>
        </tr>
        <tr style="font-size: 12pt">
            <td class="SubHead" style="width: 125px">
                <asp:Label ID="Label77" runat="server" Text="Người đăng ký:" CssClass="titletext3"></asp:Label></td>
            <td valign="top">
                <asp:TextBox ID="txtNguoiDangKy" runat="server" MaxLength="255" Rows="5"
                    Width="480px" Enabled="False"></asp:TextBox></td>
        </tr>
        <tr style="font-size: 12pt">
            <td class="SubHead" style="width: 125px">
                <asp:Label ID="Label78" runat="server" Text="Ngày đăng ký:" CssClass="titletext3"></asp:Label></td>
            <td valign="top">
                <asp:TextBox ID="txtNgayDangKy" runat="server" MaxLength="10" Width="100px" Enabled="False"></asp:TextBox><asp:HyperLink ID="hplNgayDangKy" runat="server" ImageUrl="~/images/calendar.png" Visible="False"></asp:HyperLink>
                &nbsp; &nbsp; &nbsp; &nbsp;
                <asp:Label ID="Label4" runat="server" CssClass="titletext3" Text="Cập nhật:"></asp:Label><asp:TextBox ID="txtNgayCapnhat" runat="server" MaxLength="10" ReadOnly="True" Rows="5"
                    Width="100px"></asp:TextBox>
                &nbsp; &nbsp;
                <asp:Label ID="Label80" runat="server" Text="Hết hạn:" CssClass="titletext3"></asp:Label>
                <asp:TextBox ID="txtNgayHetHan" runat="server" MaxLength="10" Rows="5"
                    Width="100px"></asp:TextBox><asp:HyperLink ID="hplNgayHetHan" runat="server" ImageUrl="~/images/calendar.png"></asp:HyperLink></td>
        </tr>
        <tr style="font-size: 12pt">
            <td class="SubHead" style="width: 125px" valign="top">
                <asp:Label ID="Label79" runat="server" Text="Ghi chú" CssClass="titletext3"></asp:Label></td>
            <td style="height: 40px" valign="top">
                <asp:TextBox ID="txtNoiDungXuLy" runat="server" Rows="3" TextMode="MultiLine" Width="478px"></asp:TextBox></td>
        </tr>
    </table>
</asp:Panel>

<asp:Panel ID="pnlButton" runat="server">
    <table border="0" width="650">
        <tr>
            <td align="center">
                <asp:Button ID="btnUpdate" runat="server" OnClick="btnUpdate_Click"
                    Text="Lưu thông tin" ValidationGroup="a" CssClass="btn" />
            <asp:Button ID="btnDelete" runat="server" OnClick="btnDelete_Click" Text="Xóa" Width="80px" CssClass="btn" />&nbsp;&nbsp;
                &nbsp;&nbsp;
                <asp:Button ID="btnGoToLastQuery" runat="server" CssClass="btn" OnClick="btnGoToLastQuery_Click"
                    Text="Quay về" ToolTip="Về trang kết quả tìm kiếm" ValidationGroup="a" Width="68px" /></td>
        </tr>
        <tr>
            <td align="center">
                <asp:Label ID="lblNotice" runat="server"></asp:Label></td>
        </tr>
        <tr>
            <td align="center">
                &nbsp;</td>
        </tr>
    </table>
</asp:Panel>   
</center>
<center>
    <asp:Panel ID="pnlMessage" runat="server">
                <uc3:message ID="ctlMessage" runat="server" />
    </asp:Panel>
    <asp:Label ID="lblDebugMessage" runat="server"></asp:Label></center>
